from PIL import Image
img=Image.open("lab3/lenna_1920x1080_g.png")
f=open('LAB3/img_dest.txt','r')
pixel_list=eval(f.read())
f.close()
for i in range(1920):
    for j in range(1079):
        img.putpixel([i,j],pixel_list[i][j])
img.save("lab3/lenna_result.png")
img.close()
pass
